package com.hsnn.medstgmini.settlement.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @category 支付单支付明细详情 实体类
 * @author 韩守松
 * @date 2015年7月28日
 */
@Entity
@Table(name = "set_payment_paydetail")
public class SetPaymentPayDetail {
	private String paymentBillDetailId;// 支付单详情id
	private String paymentBillId;// 支付单id
	private String settlementId;// 结算单id
	private String bankAcctTransInfoId;// 支付明细id
	private Date createDatetime;// 加入时间
	private String createDatetimeStr;// 格式化加入时间
	private String createUser;// 加入人
	private String paySerialNumber;// 支付流水号
	private Integer payStatus;// 支付状态0未支付1已支付
	private Date payTime;// 支付时间
	private String payTimeStr;//格式化支付时间
	private String payUser;// 确认支付人

	@Id
	@Column(name = "payment_bill_detail_id")
	public String getPaymentBillDetailId() {
		return paymentBillDetailId;
	}

	public void setPaymentBillDetailId(String paymentBillDetailId) {
		this.paymentBillDetailId = paymentBillDetailId;
	}

	@Column(name = "payment_bill_id")
	public String getPaymentBillId() {
		return paymentBillId;
	}

	public void setPaymentBillId(String paymentBillId) {
		this.paymentBillId = paymentBillId;
	}

	@Column(name = "settlement_id")
	public String getSettlementId() {
		return settlementId;
	}

	public void setSettlementId(String settlementId) {
		this.settlementId = settlementId;
	}

	@Column(name = "bank_acct_trans_info_id")
	public String getBankAcctTransInfoId() {
		return bankAcctTransInfoId;
	}

	public void setBankAcctTransInfoId(String bankAcctTransInfoId) {
		this.bankAcctTransInfoId = bankAcctTransInfoId;
	}

	@Column(name = "create_datetime")
	public Date getCreateDatetime() {
		return createDatetime;
	}

	public void setCreateDatetime(Date createDatetime) {
		this.createDatetime = createDatetime;
	}

	@Transient
	public String getCreateDatetimeStr() {
		return createDatetimeStr;
	}

	public void setCreateDatetimeStr(String createDatetimeStr) {
		this.createDatetimeStr = createDatetimeStr;
	}

	@Column(name = "create_user")
	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	@Column(name = "pay_serial_number")
	public String getPaySerialNumber() {
		return paySerialNumber;
	}

	public void setPaySerialNumber(String paySerialNumber) {
		this.paySerialNumber = paySerialNumber;
	}

	@Column(name = "pay_status")
	public Integer getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(Integer payStatus) {
		this.payStatus = payStatus;
	}

	@Column(name = "pay_time")
	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	@Transient
	public String getPayTimeStr() {
		return payTimeStr;
	}

	public void setPayTimeStr(String payTimeStr) {
		this.payTimeStr = payTimeStr;
	}

	@Column(name = "pay_user")
	public String getPayUser() {
		return payUser;
	}

	public void setPayUser(String payUser) {
		this.payUser = payUser;
	}

}